package com.ruoyi.employee.domain;

import com.ruoyi.common.core.domain.UserEntity;
import com.ruoyi.market.domain.ConfigBase;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 店员统计对象 customer_static
 *
 * @author ruoyi
 */
public class EmployeeStatic extends UserEntity
{
    private static final long serialVersionUID = 1L;

    /** 店员ID */
    private Long userId;

    /** 店铺ID */
    private String shopId;

    /** 用户余额 */
    private BigDecimal balance;

    /** 用户已提现金额 */
    private BigDecimal moneyGet;

    /** 接单金额 */
    private BigDecimal orderAmount;

    /** 接单笔数 */
    private int orderCount;

    /** 订单数 - 下了单却且成功接单 */
    private int orderSuccessCount;

    /** 订单数 - 超时未接单数 */
    private int orderOvertimeCount;

    /** 被打赏金额 */
    private BigDecimal rewardAmount;

    /** 被打赏笔数 */
    private int rewardCount;

    /** PK金额 */
    private BigDecimal pkAmount;

    /** PK笔数 */
    private int pkCount;

    /** 粉丝数 */
    private int likeCount;

    /** 佣金比例 */
    private Integer ratio;

    /** 赚取金额 - 当日 */
    private BigDecimal moneyToday;

    /** 接单金额 - 当日 */
    private BigDecimal orderAmountToday;

    /** 接单笔数 - 当日 */
    private int orderToday;

    /** 被打赏金额 - 当日 */
    private BigDecimal rewardAmountToday;

    /** 被打赏笔数 - 当日 */
    private int rewardToday;

    /** 粉丝数 - 当日 */
    private int likeToday;

    private EmployeeUser empployeeUser;

    /** 所属店铺信息   */
    private ConfigBase shopInfo;

    public EmployeeStatic()
    {

    }

    public EmployeeStatic(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public String getShopId(){ return shopId; }

    public void setShopId(String shopId){ this.shopId = shopId; }

    public BigDecimal getBalance(){ return balance;}

    public void setBalance(BigDecimal balance){ this.balance = balance; }

    public BigDecimal getMoneyGet(){ return moneyGet;}

    public void setMoneyGet(BigDecimal moneyGet){ this.moneyGet = moneyGet; }

    public BigDecimal getMoneyToday(){ return moneyToday;}

    public void setMoneyToday(BigDecimal moneyToday){ this.moneyToday = moneyToday; }

    public BigDecimal getOrderAmount(){ return orderAmount;}

    public void setOrderAmount(BigDecimal orderAmount){ this.orderAmount = orderAmount; }

    public BigDecimal getOrderAmountToday(){ return orderAmountToday;}

    public void setOrderAmountToday(BigDecimal orderAmountToday){ this.orderAmountToday = orderAmountToday; }

    public BigDecimal getRewardAmount(){ return rewardAmount;}

    public void setRewardAmount(BigDecimal rewardAmount){ this.rewardAmount = rewardAmount; }

    public BigDecimal getRewardAmountToday(){ return rewardAmountToday;}

    public void setRewardAmountToday(BigDecimal rewardAmountToday){ this.rewardAmountToday = rewardAmountToday; }

    public int getOrderCount(){ return orderCount;}

    public void setOrderCount(int orderCount){ this.orderCount = orderCount; }

    public int getOrderToday(){ return orderToday;}

    public void setOrderToday(int orderToday){ this.orderToday = orderToday; }

    public int getOrderSuccessCount()
    {
        return orderSuccessCount;
    }

    public void setOrderSuccessCount(int orderSuccessCount)
    {
        this.orderSuccessCount = orderSuccessCount;
    }

    public int getOrderOvertimeCount(){ return orderOvertimeCount;}

    public void setOrderOvertimeCount(int orderOvertimeCount){ this.orderOvertimeCount = orderOvertimeCount; }

    public int getRewardCount(){ return rewardCount;}

    public void setRewardCount(int rewardCount){ this.rewardCount = rewardCount; }

    public BigDecimal getPkAmount(){ return pkAmount;}

    public void setPkAmount(BigDecimal pkAmount){ this.pkAmount = pkAmount; }

    public int getPkCount(){ return pkCount;}

    public void setPkCount(int pkCount){ this.pkCount = pkCount; }

    public int getRewardToday(){ return rewardToday;}

    public void setRewardToday(int rewardToday){ this.rewardToday = rewardToday; }

    public int getLikeCount(){ return likeCount;}

    public void setLikeCount(int likeCount){ this.likeCount = likeCount; }

    public int getLikeToday(){ return likeToday;}

    public void setLikeToday(int likeToday){ this.likeToday = likeToday; }

    public Integer getRatio()
    {
        return ratio;
    }

    public void setRatio(Integer ratio)
    {
        this.ratio = ratio;
    }

    public EmployeeUser getEmployeeUser()
    {
        return empployeeUser;
    }

    public void setEmployeeUser(EmployeeUser empployeeUser)
    {
        this.empployeeUser = empployeeUser;
    }

    public ConfigBase getShopInfo()
    {
        return shopInfo;
    }

    public void setShopInfo(ConfigBase shopInfo)
    {
        this.shopInfo = shopInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("userId", getUserId())
                .append("shopId", getShopId())
                .append("balance", getBalance())
                .append("moneyGet", getMoneyGet())
                .append("moneyToday", getMoneyToday())
                .append("orderCount", getOrderCount())
                .append("orderToday", getOrderToday())
                .append("orderSuccessCount", getOrderSuccessCount())
                .append("orderOvertimeCount", getOrderOvertimeCount())
                .append("likeCount", getLikeCount())
                .append("likeToday", getLikeToday())
                .append("reportCount", getReportCount())
                .append("rewardCount", getRewardCount())
                .append("rewardToday", getRewardToday())
                .append("rewardAmount", getRewardAmount())
                .append("pkCount", getPkCount())
                .append("pkAmount", getPkAmount())
                .append("rewardAmountToday", getRewardAmountToday())
                .append("orderAmount", getOrderAmount())
                .append("orderAmountToday", getOrderAmountToday())
                .append("ratio", getRatio())
                .append("score", getScore())
                .append("scoreTotal", getScoreTotal())
                .append("empployeeUser", getEmployeeUser())
                .append("shopInfo", getShopInfo())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
